package com.liujit.standard.basis.admin.domain.query;

import com.liujit.standard.basis.core.domain.query.PageQuery;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

;

/**
 * @Description 日志查询参数
 * @Author LiuJun
 * @Date 2021-03-26 09:19:24
 */
@ApiModel("日志查询参数")
@Data
public class SysLogQuery extends PageQuery {

    @ApiModelProperty("操作人ID")
    private Long userId;

    @ApiModelProperty("操作人名称")
    private String userName;

    @ApiModelProperty("操作描述")
    private String description;

    @ApiModelProperty("日志类型：1、操作日志。2、异常日志。")
    private Short type;

    @ApiModelProperty("操作IP")
    private String ip;

    @ApiModelProperty("操作地点")
    private String location;

    @ApiModelProperty("浏览器")
    private String browser;

    @ApiModelProperty("操作系统")
    private String os;

    @ApiModelProperty("请求地址")
    private String actionUrl;

    @ApiModelProperty("请求方式")
    private String requestMethod;

    @ApiModelProperty("请求参数")
    private String params;

    @ApiModelProperty("访问类名")
    private String classPath;

    @ApiModelProperty("响应结果")
    private String result;

    @ApiModelProperty("操作结果： 0、失败。1、成功。")
    private Short resultCode;

    @ApiModelProperty("异常信息")
    private String exDetail;

    @ApiModelProperty("异常描述")
    private String exMsg;

    @ApiModelProperty("操作时间")
    private Date createTime;
}